<?php
/* @var $this InventoryController */
/* @var $data Inventory */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('Item')); ?>:</b>
	<?php echo CHtml::encode($data->item->item_desc); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('stock')); ?>:</b>
	<?php echo CHtml::encode($data->qty_in_stock .' '. $data->item->unit ); ?>
	<br />
	

	<b><?php echo CHtml::encode($data->getAttributeLabel('date')); ?>:</b>
	<?php echo CHtml::encode($data->date); ?>
	<br />



	
<b><?php echo CHtml::encode($data->getAttributeLabel('User')); ?>:</b>
	<?php echo CHtml::encode($data->user->fname.' '. $data->user->lname ); ?>
	<br />

</div>